﻿using clf.weighing.entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace weighing
{
   public class InitConfig : BaseEntity
    {
        public InitConfig() {
            companyName ??= string.Empty;
            clientNumber ??= string.Empty;
        }

        public long companyId;
        /// <summary>
        /// 使用公司名称
        /// </summary>
        public string companyName;
        /// <summary>
        /// 客户端ID
        /// </summary>
        public long clientId;
        /// <summary>
        /// 客户端编号
        /// </summary>
        public string clientNumber;

        /// <summary>
        /// 机器ID
        /// </summary>
        public int machineId;

        /// <summary>
        ///  磅房ID
        /// </summary>
        public long scaleHouseId ;
        /// <summary>
        ///  磅房
        /// </summary>
        public string scaleHouseName;

        public ActiveType ActiveType { get; set; } = ActiveType.Code;
    }
}
